$OpenBSD: patch-ext_cdparanoia_gstcdparanoiasrc_c,v 1.5 2014/01/03 09:51:01 ajacoutot Exp $

Our cdparanoia version does not have cache control.

--- ext/cdparanoia/gstcdparanoiasrc.c.orig	Fri Dec 30 14:29:12 2011
+++ ext/cdparanoia/gstcdparanoiasrc.c	Fri Jan  3 10:17:38 2014
@@ -261,17 +261,6 @@ gst_cd_paranoia_src_open (GstCddaBaseSrc * cddabasesrc
     GST_INFO_OBJECT (src, "search overlap set to %u", src->search_overlap);
   }
 
-  cache_size = src->cache_size;
-  if (cache_size == -1) {
-    /* if paranoia mode is low (the default), assume we're doing playback */
-    if (src->paranoia_mode <= PARANOIA_MODE_FRAGMENT)
-      cache_size = 150;
-    else
-      cache_size = paranoia_cachemodel_size (src->p, -1);
-  }
-  paranoia_cachemodel_size (src->p, cache_size);
-  GST_INFO_OBJECT (src, "set cachemodel size to %u", cache_size);
-
   src->next_sector = -1;
 
   return TRUE;
